-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry pick chainlink
PRs
#1549
Conversation
* feat: refactor MockCCIPRouter to support EVMExtraArgsV2 * chore: commit changeset * CCIP-4288 add changeset
* adds OZ AccessControl support to the registry module * [Bot] Update changeset file with jira issues * fix snap * update version --------- Co-Authored-By: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com>
forge-std v1.9.4 ran `make snapshot-all`
…actkit/ccip into cherry-pick-contracts
} | ||
|
||
s_owner = newOwner; | ||
if (pendingOwner != address(0)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
q: is this path tested? I don't see a test for it
|
||
s_ownable2Step.transferOwnership(STRANGER); | ||
|
||
assertTrue(STRANGER != s_ownable2Step.owner()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we should check that pendingOwner == STRANGER
assertTrue(STRANGER != s_ownable2Step.owner()); | ||
|
||
vm.startPrank(STRANGER); | ||
s_ownable2Step.acceptOwnership(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing checks:
- New owner updated
- Pending owner reset
- Event
This brings three changes into the ccip repo
chainlink